package com.yyq.gxdc.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;

@Data
@TableName("order_info")
public class OrderInfo implements Serializable {
    @TableId(type = IdType.AUTO)
    private Integer id;//id
    private String orderNo;// 订单编号
    private Integer uid;// 用户id
    private String username;// 用户名称
    private String receiver;//收货人
    private Double totalPrice; // 订单价格
    private Double preferentialPrice; // 订单价格
    private Double orderPrice; // 订单价格
    private String orderTime; // 订单时间
    private Long diningTableId;
    private String diningTable;
}
